<template>
	<div id="app">
		<div class="over-hid bg-qian">
        <div class="bg-xingzhuang"></div> 
        <div class="act-des" >
            <div class="img">
             <img src="../../../assets/images/tmp/main_banner.png" alt="">
             <!--<div class="tijiao-hu"></div>-->
            </div>
         </div>
        
        <div class="yaoyiyao-award w520 m-center end-animation" >
            <div class="left fl">
                <img src="../../../assets/images/tmp/car.png" alt="">
            </div>
                <div class="right fr">
                    <div class="text">
                        <p class="p1">提交成功</p>
                        <p class="p2 mt20">起亚KX5 五折折扣</p>
                    </div>
                </div>
            <div class="white-bottom-dotted"></div>
           
        </div>
        <p class="yaoyiyao-tip-p tc mt56">＊信息已提交，请耐心等待礼品送到您手中</p>
        <div class="btn-area  w520 m-center mt56" >
            <!--<a href="" class="return_index fl"><span class="icon"></span></a>-->
            <a  v-if="lookAward" class="short-btn fl" >查看奖品</a>
            <a  v-else-if="acceptAward" class="short-btn fl">确认领奖</a>
            <a  v-else-if="broughtAward" class="short-btn fl short-btn-gray">奖品已领</a>
            <a  v-else="backHome" class="short-btn fl">返回首页</a>
            <a   class="short-btn fr" @click="shareFriend">邀请好友</a>          
        </div>
       
    </div>
    <div class="submit-success-bottom">
        <div class="w560 m-center">获奖说明：1.奖品以实物为准，图片仅供参考2.活动结束后，我们将奖品邮寄到您提供的地址，请务必确保地址正确。
        </div>
        <!--<div class="wave"></div>-->
    </div>
     <!--分享给好友弹层-->
     <div class="mengban" :class="{hide:noShare}" @click=disMenban>
     	<div class="mengban-tip">
     		
     	</div>
     </div>
    
</div>
</template>

<script>
	import 'assets/js/wii_entry';
	import 'assets/js/common';
	import 'assets/js/yaoyiyao';
	import 'assets/js/shake';
	export default {
  data() {
    return {
        lookAward:true,
		acceptAward:false,
		broughtAward:false,
		backHome:false,
		noShare:true
    }
  },
  created() {
//  this.handYaoActive()
  },
  watch: {

  },
  computed: {

  },
   beforeMount: function() { 
   	
      
   },
  mounted() {
	       instructionScroll()
        function instructionScroll(){
            var winH = $(window).height();
            var mainH = $('.over-hid').height();
            var h = winH - mainH;
            $('.submit-success-bottom').css({
                height: h+'px',
                overflowY: 'scroll',
                boxSizing: 'border-box'
            })
        }

  },
  methods: {

 shareFriend () {
 	console.log("点击");
 	this.noShare = false
 },
disMenban() {
	this.noShare = true
   }
  }
}
</script>

<style lang="less">
	@import "../../../assets/css/main.css";
</style>
